package zuoye.test2;

public class Hedgehog  extends  Animal{
    public Hedgehog() {
    }

    public Hedgehog(String breed, String color, String name, int age) {
        super(breed, color, name, age);
    }

    @Override
    public void eat() {
        System.out.println( getColor()+"色的"+getBreed()+"小刺猬，今年"+getAge()+"岁了，它名叫"+getName()+"，它在吃小虫子。");
    }

    public void actingCute(){
        System.out.println(getColor()+"色的"+getBreed()+"小刺猬，今年"+getAge()+"岁了，它名叫"+getName()+"，它的技能是卷起身体卖萌。");
    }
}
